POV-Ray : Newsgroups : povray.advanced-users : Heightfields question : Re: Heightfields question Server Time
29 Jul 2024 06:13:35 EDT (-0400)
  Re: Heightfields question  
From: Johannes Dahlstrom
Date: 19 Nov 2002 09:44:25
Message: <3dda4e49@news.povray.org>
Fidel viegas wrote:

> Hello guys, is there a way of checking the height of a heightfield at an
> (x,z) point?
> 
> Thanks in advance
> 
> Fidel.

The trace() function does this, among a multitude of other things. 
Basically, it tests a ray against an object and returns the nearest 
intersection point (and optionally the normal, too). Check the docs for 
more info.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.